﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="JinDu3_In.aspx.cs" Inherits="syc.Fc.JinDu3_In" %>
<html>
<head></head>
<body>
    <script type="text/javascript" language="javascript" src="/common.js"></script>
    <form id="form1" runat="server">
    <div id="wintop" class="wintop">三分厂生产进度录入</div>
    
        <asp:Panel ID="Panel1" runat="server" CssClass="panel">

            <asp:Button ID="Button_Finish" runat="server" Text="保 存" CssClass="button" 
                UseSubmitBehavior="False" onclick="Button_Finish_Click" />
            <asp:Button ID="Button_New" runat="server" Text="录入下一条" CssClass="button" 
                Font-Bold="false" Font-Size="14px" Visible="false"
                UseSubmitBehavior="False" onclick="Button_New_Click" />
            <input type="button" value="关 闭" class="button" onclick="parent.swin_close();" />
        </asp:Panel>
        

    <asp:Panel ID="Panel2" runat="server" CssClass="panel2">
        <asp:Label ID="Message" runat="server" Text="·准备就绪" CssClass="prompt"></asp:Label>
    </asp:Panel>
    <asp:Panel ID="Panel3" runat="server" CssClass="panel" >
   
       <fieldset>
            <legend>常规</legend>
            班次：<asp:DropDownList ID="BanCi" runat="server" Width="120px">
                <asp:ListItem Value="1">甲班</asp:ListItem>
                <asp:ListItem Value="2">乙班</asp:ListItem>
                <asp:ListItem Value="3">丙班</asp:ListItem>
                <asp:ListItem Value="4">丁班</asp:ListItem>
            </asp:DropDownList>
            产品：<asp:DropDownList ID="ChanPin" runat="server" Width="120px">
                <asp:ListItem Value="2">套管接箍</asp:ListItem>
                <asp:ListItem Value="1">油管接箍</asp:ListItem>
            </asp:DropDownList> 
            日期：<asp:TextBox ID="RiQi" runat="server" CssClass="intxt1" Width="120px"></asp:TextBox><img alt="" src="/Icons/29.png" align="middle" onclick="makecalendar(document.getElementById('RiQi').value, document.getElementById('RiQi'));" />
        
	    </fieldset>
       <fieldset>
            <legend>原料投入</legend>
            根数(根)：<asp:TextBox ID="TouRuGen" runat="server" CssClass="textbox" Width="120px" Text="0"></asp:TextBox>
            重量(kg)：<asp:TextBox ID="TouRuZhong" runat="server" CssClass="textbox" Width="120px" Text="0"></asp:TextBox>
        </fieldset>
       <fieldset>
            <legend>切料</legend>
            支数(支)：<asp:TextBox ID="QieLiaoZhi" runat="server" CssClass="textbox" Width="120px" Text="0"></asp:TextBox>
        </fieldset>
       <fieldset>
            <legend>粗车</legend>
            合格(支)：<asp:TextBox ID="CuChe" runat="server" CssClass="textbox" Width="120px" Text="0"></asp:TextBox>
            不合格(支)：<asp:TextBox ID="CuCheFei" runat="server" CssClass="textbox" Width="120px" Text="0"></asp:TextBox>
        </fieldset>
       <fieldset>
            <legend>打字</legend>
            支数(支)：<asp:TextBox ID="DaZi" runat="server" CssClass="textbox" Width="120px" Text="0"></asp:TextBox>
        </fieldset>
       <fieldset>
            <legend>车丝支数(支)</legend>
            01# <asp:TextBox ID="CheSi1" runat="server" CssClass="textbox" Width="80px" Text="0"></asp:TextBox>
            02# <asp:TextBox ID="CheSi2" runat="server" CssClass="textbox" Width="80px" Text="0"></asp:TextBox>
            03# <asp:TextBox ID="CheSi3" runat="server" CssClass="textbox" Width="80px" Text="0"></asp:TextBox>
            04# <asp:TextBox ID="CheSi4" runat="server" CssClass="textbox" Width="80px" Text="0"></asp:TextBox>
            05# <asp:TextBox ID="CheSi5" runat="server" CssClass="textbox" Width="80px" Text="0"></asp:TextBox>
            <br />
            06# <asp:TextBox ID="CheSi6" runat="server" CssClass="textbox" Width="80px" Text="0"></asp:TextBox>
            07# <asp:TextBox ID="CheSi7" runat="server" CssClass="textbox" Width="80px" Text="0"></asp:TextBox>
            08# <asp:TextBox ID="CheSi8" runat="server" CssClass="textbox" Width="80px" Text="0"></asp:TextBox>
            09# <asp:TextBox ID="CheSi9" runat="server" CssClass="textbox" Width="80px" Text="0"></asp:TextBox>
            10# <asp:TextBox ID="CheSi10" runat="server" CssClass="textbox" Width="80px" Text="0"></asp:TextBox>
            <br />
            11# <asp:TextBox ID="CheSi11" runat="server" CssClass="textbox" Width="80px" Text="0"></asp:TextBox>
            12# <asp:TextBox ID="CheSi12" runat="server" CssClass="textbox" Width="80px" Text="0"></asp:TextBox>
            13# <asp:TextBox ID="CheSi13" runat="server" CssClass="textbox" Width="80px" Text="0"></asp:TextBox>
            14# <asp:TextBox ID="CheSi14" runat="server" CssClass="textbox" Width="80px" Text="0"></asp:TextBox>
            15# <asp:TextBox ID="CheSi15" runat="server" CssClass="textbox" Width="80px" Text="0"></asp:TextBox>
            <br />
            16# <asp:TextBox ID="CheSi16" runat="server" CssClass="textbox" Width="80px" Text="0"></asp:TextBox>
            17# <asp:TextBox ID="CheSi17" runat="server" CssClass="textbox" Width="80px" Text="0"></asp:TextBox>
            18# <asp:TextBox ID="CheSi18" runat="server" CssClass="textbox" Width="80px" Text="0"></asp:TextBox>
            19# <asp:TextBox ID="CheSi19" runat="server" CssClass="textbox" Width="80px" Text="0"></asp:TextBox>
            20# <asp:TextBox ID="CheSi20" runat="server" CssClass="textbox" Width="80px" Text="0"></asp:TextBox>
        </fieldset>
        <fieldset>
            <legend>车丝废品(支)</legend>
            01# <asp:TextBox ID="CheFei1" runat="server" CssClass="textbox" Width="80px" Text="0"></asp:TextBox>
            02# <asp:TextBox ID="CheFei2" runat="server" CssClass="textbox" Width="80px" Text="0"></asp:TextBox>
            03# <asp:TextBox ID="CheFei3" runat="server" CssClass="textbox" Width="80px" Text="0"></asp:TextBox>
            04# <asp:TextBox ID="CheFei4" runat="server" CssClass="textbox" Width="80px" Text="0"></asp:TextBox>
            05# <asp:TextBox ID="CheFei5" runat="server" CssClass="textbox" Width="80px" Text="0"></asp:TextBox>
            <br />
            06# <asp:TextBox ID="CheFei6" runat="server" CssClass="textbox" Width="80px" Text="0"></asp:TextBox>
            07# <asp:TextBox ID="CheFei7" runat="server" CssClass="textbox" Width="80px" Text="0"></asp:TextBox>
            08# <asp:TextBox ID="CheFei8" runat="server" CssClass="textbox" Width="80px" Text="0"></asp:TextBox>
            09# <asp:TextBox ID="CheFei9" runat="server" CssClass="textbox" Width="80px" Text="0"></asp:TextBox>
            10# <asp:TextBox ID="CheFei10" runat="server" CssClass="textbox" Width="80px" Text="0"></asp:TextBox>
            <br />
            11# <asp:TextBox ID="CheFei11" runat="server" CssClass="textbox" Width="80px" Text="0"></asp:TextBox>
            12# <asp:TextBox ID="CheFei12" runat="server" CssClass="textbox" Width="80px" Text="0"></asp:TextBox>
            13# <asp:TextBox ID="CheFei13" runat="server" CssClass="textbox" Width="80px" Text="0"></asp:TextBox>
            14# <asp:TextBox ID="CheFei14" runat="server" CssClass="textbox" Width="80px" Text="0"></asp:TextBox>
            15# <asp:TextBox ID="CheFei15" runat="server" CssClass="textbox" Width="80px" Text="0"></asp:TextBox>
            <br />
            16# <asp:TextBox ID="CheFei16" runat="server" CssClass="textbox" Width="80px" Text="0"></asp:TextBox>
            17# <asp:TextBox ID="CheFei17" runat="server" CssClass="textbox" Width="80px" Text="0"></asp:TextBox>
            18# <asp:TextBox ID="CheFei18" runat="server" CssClass="textbox" Width="80px" Text="0"></asp:TextBox>
            19# <asp:TextBox ID="CheFei19" runat="server" CssClass="textbox" Width="80px" Text="0"></asp:TextBox>
            20# <asp:TextBox ID="CheFei20" runat="server" CssClass="textbox" Width="80px" Text="0"></asp:TextBox>
        </fieldset>
        <fieldset>
            <legend>磁粉碳伤(支)</legend>
            合格(支)：<asp:TextBox ID="CiTan" runat="server" CssClass="textbox" Width="120px" Text="0"></asp:TextBox>
            不合格(支)：<asp:TextBox ID="CiTanFei" runat="server" CssClass="textbox" Width="120px" Text="0"></asp:TextBox>
        </fieldset>
        
        <fieldset>
            <legend>磷化处理</legend>
            支数(支)：<asp:TextBox ID="LinHuaZhi" runat="server" CssClass="textbox" Width="120px" Text="0"></asp:TextBox>
        </fieldset>
        <fieldset>
            <legend>废料</legend>
            边角料量(kg)：<asp:TextBox ID="JiaoLiao" runat="server" CssClass="textbox" Width="120px" Text="0"></asp:TextBox>
        </fieldset> 
    </asp:Panel>


    
    </form>
    
    <script>
        var textboxs = document.getElementsByTagName("input");
        for (var i = 0; i < textboxs.length; i++) {
            if (textboxs[i].className == "pageturn" || textboxs[i].className == "intxt1" || textboxs[i].className == "textbox") {
                textboxs[i].onfocus = function(e) { this.select(); };
            }
        }
        document.body.onkeypress = function(e) {
            if (!e) e = window.event;
            var tag = e.srcElement;
            if (!tag) tag = e.target;
            if (tag.className.toLowerCase() != "textbox") return;
            var i;
            if (e.keyCode == 13) {
                for (i = 0; i < textboxs.length; i++) {
                    if (tag == textboxs[i]) {
                        if (i < textboxs.length - 1) {
                            textboxs[i + 1].focus();
                        }
                        else {
                            textboxs[7].focus();
                        }
                    }
                }
            }
        };
    </script>
</body>
</html>